package com.xbongbong.pro.appdetail.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/4/18 14:29
 * @since v1.0
 */
@Getter
@Setter
public class ReadMessageSetDTO extends BaseDTO {

    private static final long serialVersionUID = 5275622471622406028L;

    private Long dataId;

    private Integer businessType;

    private Long pushId;
    /**
     * 是否是saas 1：saas  2：paas
     */
    @DecimalMin(value = "1", message = "{dto.msg.readMessageSet.saasMark.DecimalMin}")
    @DecimalMax(value = "2", message = "{dto.msg.readMessageSet.saasMark.DecimalMax}")
    private Integer saasMark;

    private Integer isRemind;
}
